//
//  LZFMJExtensionConfig.m
//  LZFBuDieJie
//
//  Created by 梁梓烽 on 16/7/14.
//  Copyright © 2016年 liangzifeng. All rights reserved.
//

/**
 *  mjextension框架的属性映射配置
 */

#import "LZFMJExtensionConfig.h"
#import <MJExtension.h>
#import "LZFTopicItem.h"
#import "LZFCommentItem.h"
#import "LZFUserItem.h"

@implementation LZFMJExtensionConfig
+(void)load
{
    [LZFTopicItem mj_setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 
                @"ID" : @"id",
                @"small_image" : @"image0",
                @"large_image" : @"image1",
                @"middle_image" : @"image2",
                @"topComment" : @"top_cmt[0]"
                 };
    }];
    
    [LZFCommentItem mj_setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 @"ID":@"id"
                };
    }];
   
}

@end
